package com.tanhua.manage.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 首页操作类
 */
//01为登录，0201为发动态，0202为浏览动态，0203为动态点赞，
// 0204为动态喜欢，0205为评论，0206为动态取消点赞，
// 0207为动态取消喜欢，0301为发小视频，0302为小视频评论，0303为小视频取消点赞，0304为小视频评论
public enum  LogTypeEnum implements IEnum<String> {
    LOGIN("01","登录"),
    SENDDY("0201","发动态"),
    SEE("0202","浏览动态"),
    DSUPPORT("0203","动态点赞"),
    DNOSUPPORT("0204","动态喜欢"),
    DLIKE("0205","评论"),
    DNOLIKE("0206","动态取消点赞"),
    DCOMMENT("0207","动态取消喜欢"),
    SENDVI("0301","发小视频"),
    VSUPPORT("0302","小视频评论"),
    VNOSUPPORT("0303","小视频评论"),
    VCOMMENT("0304","小视频评论");


    private String value;
    private String desc;

    LogTypeEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }


    @Override
    public String getValue() {
        return this.value;
    }
    @Override
    public String toString() {
        return this.desc;
    }

}
